from django import forms
from django.forms import ModelForm
import models
from django.contrib.auth.models import User

class CategoryForm(ModelForm):
	class Meta:
		model = models.Category
		
class CodeForm(ModelForm):	
	class Meta:
		model = models.UserCode
		exclude = ('user', )

